package com.xxzx.publicprevention.mapper;

import com.xxzx.publicprevention.pojo.RecordfilerelationDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 地质灾害文件关系表  Mapper 接口
 * </p>
 *
 * @author liyu
 * @since 2020-11-04
 */
public interface RecordfilerelationMapper extends BaseMapper<RecordfilerelationDO> {

    void addRelations(RecordfilerelationDO rela);

    List<RecordfilerelationDO> getRelationsByRecordId(@Param("recordid")Integer id);

    void deleteRelaById(@Param("id")Integer id);
}
